<?php
/**
 * @version		$Id: edit.php 3 2011-12-16 20:19:15Z netix.mail@gmail.com $
 * @package		ALM Hoster
 * @desription	Web hosting and domain menager for resellers
 * @subpackage	Components
 * @copyright	Copyright (C) 2011 ALM Studio. All rights reserved.
 * @author		ALM Studio
 * @email		info@alm-studio.net
 * @link		http://alm-studio.net
 * @license		Commercial
 */
 
// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
?>
<form action="<?php echo JRoute::_('index.php?option=com_almhoster&layout=edit&ServerId='.(int) $this->item->ServerId); ?>" method="post" name="adminForm" id="server-form" class="form-validate">
	<div class="width-50 fltlft">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'COM_ALMHOSTER_TLD_EXTENSION_DETAILS' ); ?></legend>
		<ul class="adminformlist">		
		<li><?php echo $this->form->getLabel('ServerName'); ?>
			<?php echo $this->form->getInput('ServerName'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerCost'); ?>
			<?php echo $this->form->getInput('ServerCost'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerIp'); ?>
			<?php echo $this->form->getInput('ServerIp'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerUsername'); ?>
			<?php echo $this->form->getInput('ServerUsername'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerPass'); ?>
			<?php echo $this->form->getInput('ServerPass'); ?></li>
			
		<li><?php echo $this->form->getLabel('ServerSSL'); ?>
			<?php echo $this->form->getInput('ServerSSL'); ?></li>
			
		</ul>
	</fieldset>	
	</div>
	
	<div class="width-50 fltrt">
	<?php echo JHtml::_('sliders.start','nameservers-sliders-'.$this->item->ServerId, array('useCookie'=>1)); ?>	
	<?php echo JHtml::_('sliders.panel',JText::_('COM_ALMHOSTER_SERVER_NAMESERVER_DETAILS'), 'nameservers-details'); ?>
	<fieldset class="panelform">
		<ul class="adminformlist">
		<li><?php echo $this->form->getLabel('ServerNameserver_1'); ?>
			<?php echo $this->form->getInput('ServerNameserver_1'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerNameserverIP_1'); ?>
			<?php echo $this->form->getInput('ServerNameserverIP_1'); ?></li>

		<li><?php echo $this->form->getLabel('ServerNameserver_2'); ?>
			<?php echo $this->form->getInput('ServerNameserver_2'); ?></li>
			
		<li><?php echo $this->form->getLabel('ServerNameserverIP_2'); ?>
			<?php echo $this->form->getInput('ServerNameserverIP_2'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerNameserver_3'); ?>
			<?php echo $this->form->getInput('ServerNameserver_3'); ?></li>
			
		<li><?php echo $this->form->getLabel('ServerNameserverIP_3'); ?>
			<?php echo $this->form->getInput('ServerNameserverIP_3'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerNameserver_4'); ?>
			<?php echo $this->form->getInput('ServerNameserver_4'); ?></li>
		
		<li><?php echo $this->form->getLabel('ServerNameserverIP_4'); ?>
			<?php echo $this->form->getInput('ServerNameserverIP_4'); ?></li>

		</ul>
	</fieldset>
	<?php echo JHtml::_('sliders.end'); ?>	
	</div>
	<div>
		<input type="hidden" name="task" value="server.edit" />
		<?php echo JHtml::_('form.token'); ?>
	</div>
</form>